﻿using System;
using DataAccess;
namespace QuanLyKhachSan
{
    public class Commons
    {
        private static TaiKhoan Current;

        public static TaiKhoan Current_
        {
            get { return Commons.Current; }
            set { Commons.Current = value; }
        }

        public new static String ToString()
        {
            try
            {
                return "Tài khoản: " + Current.Username;
            }
            catch
            {
                return "";}
        }

    }
}
